.\" resizepart.8 -- man page for resizepart
.\" Copyright 2012 Vivek Goyal <vgoyal@redhat.com>
.\" Copyright 2012 Red Hat, Inc.
.\" May be distributed under the GNU General Public License
.TH RESIZEPART 8 "January 2015" "util-linux" "System Administration"
.SH NAME
resizepart \- tell the kernel about the new size of a partition
.SH SYNOPSIS
.B resizepart
.I device partition length
.SH DESCRIPTION
.B resizepart
tells the Linux kernel about the new size of the specified partition.
The command is a simple wrapper around the "resize partition" ioctl.

This command doesn't manipulate partitions on a block device.

.SH PARAMETERS
.TP
.I device
The disk device.
.TP
.I partition
The partition number.
.TP
.I length
The new length of the partition (in 512-byte sectors).

.SH SEE ALSO
.BR addpart (8),
.BR delpart (8),
.BR fdisk (8),
.BR parted (8),
.BR partprobe (8),
.BR partx (8)
.SH AVAILABILITY
The resizepart command is part of the util-linux package and is available from
https://www.kernel.org/pub/linux/utils/util-linux/.
